package com.zhku.xxl.entity;

import java.util.Date;

public class Admin {


    private  int   Id;         //管理员id
    private String username;        // 用户名
    private String account;         // 账号
    private String password;        // 密码
    private String contact;         // 联系方式
    private String email;           // 电子邮件

     private Date createdAt;
    private String imageUrl;    //图片


    public Admin() {
    }

    public Admin(int Id, String username, String account, String password, String contact, String email, Date createdAt, String imageUrl) {
        this.Id = Id;
        this.username = username;
        this.account = account;
        this.password = password;
        this.contact = contact;
        this.email = email;
        this.createdAt = createdAt;
        this.imageUrl = imageUrl;
    }


    /**
     * 获取
     * @return Id
     */
    public int getId() {
        return Id;
    }

    /**
     * 设置
     * @param Id
     */
    public void setId(int Id) {
        this.Id = Id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return contact
     */
    public String getContact() {
        return contact;
    }

    /**
     * 设置
     * @param contact
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return createdAt
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * 设置
     * @param createdAt
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * 获取
     * @return imageUrl
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * 设置
     * @param imageUrl
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String toString() {
        return "Admin{Id = " + Id + ", username = " + username + ", account = " + account + ", password = " + password + ", contact = " + contact + ", email = " + email + ", createdAt = " + createdAt + ", imageUrl = " + imageUrl + "}";
    }
}